<div>
    <% login_user = get_login_user %>
    <%
       if login_user
    %>
        <%= t ".welcome"%> <%=h login_user.name-%> <%= link_to (t ".quit"), logout_path %>
    <%
       else
    %>
        <%= t ".welcome"%>! <%= link_to (t ".login"), login_path%><%= link_to (t ".register"), new_user_path %>
    <%
       end
    %>
</div>